package com.indusfo.spc.mapper;

import com.indusfo.spc.pojo.RoleUser;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface RoleUserMapper {

   int insertListRoleUser(@Param("roleUsers") List<RoleUser> roleUsers);

    List<Integer> selectUserIdByRoleId(@Param("roleId") Integer roleId);

    int deleteByUserIds(@Param("delUserIdList") List<Integer> delUserIdList,@Param("roleId") Integer roleId);
}
